package com.cci.kangdao.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;


import java.util.List;
import java.util.Map;

/**
 * @author William Du
 * @date 2019/11/8
 */
@MapperScan
public interface SceneTechnicalConfirmationFaultCodeSymptomTDao {


    int insertBatchSelective(List<Map<String, Object>> sceneTechnicalConfirmationFaultCodeSymptomTLsit);

    @Select("select * from SceneTechnicalConfirmationFaultCodeSymptom_T where SceneTechnicalConfirmationId = #{sceneTechnicalConfirmationId} and Flag = 0")
    List<Map<String,Object>> getSceneTechnicalConfirmationFaultCodeSymptomTBySceneTechnicalConfirmationTId(@Param("sceneTechnicalConfirmationId")long sceneTechnicalConfirmationId);


}
